<?php get_header(); ?>

<div class="cols">
    <div class="col_2-3 cont_holder">
        
        <!--h1>
            <?php
            if( is_category() ):
                _e( 'Category archive: ', LANGUAGE_ZONE );
                echo dt_first_letter_filter( single_cat_title( null, false ) );
            elseif( is_tag() ):
                _e( 'Tag archive: ', LANGUAGE_ZONE );
                echo dt_first_letter_filter( single_tag_title( null, false ) );
            elseif( is_author() ):
                $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
                _e( 'Author archive: ', LANGUAGE_ZONE );
                echo dt_first_letter_filter( $curauth->nickname );
            elseif( is_date() ):
                _e( 'Date archive: ', LANGUAGE_ZONE );
                echo dt_first_letter_filter( single_month_title( ' ', false ) );
            else:
                _e( 'Archive: ', LANGUAGE_ZONE );
                echo dt_first_letter_filter( get_post_format_string(get_post_format()) );
            endif;
            ?>
        </h1-->
        
<?php if( have_posts() ): ?>

    <?php while( have_posts() ): the_post(); ?>
        <?php get_template_part('content', get_post_format()); ?>
    <?php endwhile; ?>

    <?php 
	if( function_exists('wp_pagenavi') ) {
		wp_pagenavi( '<div class="paginator inblog">', '</div>', 'pages');
	}else {
		$args = array(
            'before'        => '<div class="paginator inblog"><div class="pages">',
            'after'         => '</div></div>',
            'pagelink'      => '<span>%</span>'
        );
        wp_link_pages( $args );
	}
	?>

<?php endif; ?>
    </div>

    <?php get_sidebar(); ?>

</div>

<?php get_footer(); ?>